export default (function () {
	console.clear();
	console.log(
		"%c一柯小白菜%cykxbc",
		`
      color: #f709bb; 
      font-family: sans-serif;
      font-size: 1.5rem;
      background: #2646b1;
      color: #fffd;
      border-radius: 0.25rem;
      padding: 0.25rem 1rem;
      margin-right: 0.5rem;
    `,
		`
      color: #ee3c00;
      font-weight: 700;
      background: #2c2c2c;
      padding: 0.25rem 1rem;
      border-radius: 0.25rem;
      letter-spacing: 0.05em;
    `
	);
	const { platform, appCodeName, language, onLine } = navigator;
	console.table({
		TimeStamp: new Date().getTime(),
		OS: platform,
		Browser: appCodeName,
		Language: language,
		onLine: onLine ? "Y" : "N",
	});
	// const hiddenlog = process.env.NODE_ENV == 'production'
	// if (hiddenlog) {
	//   console.log = () => { }
	// }
	console.warn = () => {};
})();
